package cate.game.role.pvp.eliterace.vo;

import cate.game.role.RoleSnapshot;
import lombok.Data;

@Data
public class EliteRaceGroupRoundVO {
    private String uid;
    private byte index;
    private RoleSnapshot snapshotA;
    private RoleSnapshot snapshotB;

    public static EliteRaceGroupRoundVO of(String uid, byte index, RoleSnapshot snapshotA, RoleSnapshot snapshotB) {
        EliteRaceGroupRoundVO roundVO = new EliteRaceGroupRoundVO();
        roundVO.setUid(uid);
        roundVO.setIndex(index);
        roundVO.setSnapshotA(snapshotA);
        roundVO.setSnapshotB(snapshotB);
        return roundVO;
    }
}
